package elcs.group.model;

public class GroupVO {
	private String gname;
	private String gleader;
	private String gcontent;
	private String gdate;
	private int amount;
	
	public GroupVO(String gname, String gleader, String gcontent, String gdate,
			int amount) {
		super();
		this.gname = gname;
		this.gleader = gleader;
		this.gcontent = gcontent;
		this.gdate = gdate;
		this.amount = amount;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public GroupVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public GroupVO(String gname) {
		super();
		this.gname = gname;
	}

	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public String getGleader() {
		return gleader;
	}
	public void setGleader(String gleader) {
		this.gleader = gleader;
	}
	public String getGcontent() {
		return gcontent;
	}
	public void setGcontent(String gcontent) {
		this.gcontent = gcontent;
	}
	public String getGdate() {
		return gdate;
	}
	public void setGdate(String gdate) {
		this.gdate = gdate;
	}

	@Override
	public String toString() {
		return "GroupVO [gname=" + gname + ", gleader=" + gleader
				+ ", gcontent=" + gcontent + ", gdate=" + gdate + ", amount="
				+ amount + "]";
	}
	
	
}
